package com.letoken.platform.repo.ecommerce.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "新商家商品响应对象", description = "新商家商品响应对象")
public class StoreProductRes implements Serializable {



    @ApiModelProperty(value = "商品ID")
    private Integer id;


    @ApiModelProperty(value = "商品标题")
    private String title;

    @ApiModelProperty(value = "主图")
    private String pic;

    @ApiModelProperty(value = "分类")
    private String category;

    @ApiModelProperty(value = "实际价格")
    private BigDecimal realPrice;


    @ApiModelProperty(value = "运费")
    private BigDecimal shipping;

    @ApiModelProperty(value = "库存")
    private Integer stock;


    @ApiModelProperty(value = "销量")
    private Integer sale;


    @ApiModelProperty(value = "上架时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "商品让利值")
    private BigDecimal ecommerceContributing;

    @ApiModelProperty(value = "商品名字")
    private String ecommerceName;

    @ApiModelProperty(value = "商品名字")
    private Integer userId;

    @ApiModelProperty(value = "上架状态：0->上架；1->下架")
    private Integer publishStatus;
}
